
const configConst = {}
configConst.setConfig = {
    "w_mode": "sysInfo.w_mode", //1. Transmit 2. Protocol 
    "p_uart1": "sysInfo.p_uart1", //RS232 RS485 parameters Default 115200-8-O-1
    "p_uart2": "sysInfo.p_uart2", //TTL parameter default 115200-8-O-1
    "wiegand_busy_delay": "sysInfo.wiegand_busy_delay", //Wiegand busy delay
    "wiegand_free_delay": "sysInfo.wiegand_free_delay", // Wiegand free delay
    //Card swipe output channel
    "nochannel": "sysInfo.nochannel", //Output channel bit 1 represents one type of RS485 output: the first bit () is 1, which is 2. For network output, such as TCP, bits 3, 6, and 9 are 1, which is 584. If both RS485 and TCP are enabled, it is 586. The default is 1 for USB.
    "ndchannel": "sysInfo.ndchannel", //Protocol mode output channel: Micro-light protocol is 64, one-to-4 is 32, default is 1 USB
    // Scan code, heartbeat, and password output channel
    "ochannel": "sysInfo.ochannel", //Output channel bit 1 represents one type of RS485 output: the first bit () is 1, which is 2. For network output, such as TCP, bits 3, 6, and 9 are 1, which is 584. If both RS485 and TCP are enabled, it is 586. The default is 1 for USB.
    "dchannel": "sysInfo.dchannel", //Protocol mode output channel: Low-light protocol is 64, one-to-4 is 32, default is 1 USB
    //Bluetooth output channel
    "blochannel": "sysInfo.blochannel", //Output channel bit 1 represents one type of RS485 output: the first bit () is 1, which is 2. For network output, such as TCP, bits 3, 6, and 9 are 1, which is 584. If both RS485 and TCP are enabled, it is 586. The default is 1 for USB.
    "bldchannel": "sysInfo.bldchannel", //The protocol mode output channel is 64 for the low-light protocol, 32 for a 4-channel configuration, and 1 USB by default.
    "haddr": "sysInfo.haddr", //http address
    "houttime": "sysInfo.houttime", //HTTP timeout is not currently supported.
    "owifi": "sysInfo.owifi", //Select either Wi-Fi or Ethernet output port.
    "awifi_s": "sysInfo.awifi_s", //Successful network transmission behavior	
    "relayd": "sysInfo.relayd", //Relay delay milliseconds
    "awifi_f": "sysInfo.awifi_f", //Network transmission failure behavior
    "taddr": "sysInfo.taddr", //TCP service address
    "port": "sysInfo.port", //TCP port
    "touttime": "sysInfo.touttime", //TCP timeout
    "codeSwitch": "sysInfo.codeSwitch", //QR code switch: 1 on, 0 off
    "ST": "sysInfo.ST",
    "A1": "sysInfo.A1",
    "B1": "sysInfo.B1",
    "C1": "sysInfo.C1",
    "D1": "sysInfo.D1",
    "E1": "sysInfo.E1",
    "F1": "sysInfo.F1",
    "G1": "sysInfo.G1",
    "H1": "sysInfo.H1",
    "I1": "sysInfo.I1",
    "J1": "sysInfo.J1",
    "K1": "sysInfo.K1",
    "chorc": "sysInfo.chorc", //Prefix and suffix format 1 is char, 2 is hex
    "prefix": "sysInfo.prefix", //prefix
    "postfix": "sysInfo.postfix", //suffix
    "ft": "sysInfo.ft", //QR code output format
    "nl": "sysInfo.nl", //Add Enter (0 - no Enter, 1 - enter)
    "cr": "sysInfo.cr", //Add a newline character: 0 is not added, 1 is added.
    "ascan": "sysInfo.ascan", //Action after scanning (bit control)
    "beepd": "sysInfo.beepd", //Buzzer delay
    "ledd": "sysInfo.ledd", //Flash delay
    "de_type": "sysInfo.de_type", //The code system selection is based on the number of bits. Select all: 64511
    "s_mode": "sysInfo.s_mode", //In the QR code scanning mode, 0 represents the interval and 1 represents a word.
    "interval": "sysInfo.interval", //Interval Effective Time
    "search_timeout": "sysInfo.search_timeout",
    "decoder": "sysInfo.decoder",
    "decoder_timeout": "sysInfo.decoder_timeout",
    "search_mode": "sysInfo.search_mode",
    "decoder_mode": "sysInfo.decoder_mode",
    "qr_mode": "sysInfo.qr_mode",
    "decoder_delay": "sysInfo.decoder_delay",
    "ocr_mode": "sysInfo.ocr_mode",
    "ocr_template": "sysInfo.ocr_template",
    "net_type": "sysInfo.net_type", //Network type: 1 Ethernet; 0 Network off; 2 Wi-Fi
    "ssid": "sysInfo.ssid",
    "psk": "sysInfo.psk",
    "fixed_macaddr_enable": "sysInfo.fixed_macaddr_enable", //MAC address: 0 (default), 2 (manual setting)
    "macaddr": "sysInfo.macaddr", //MAC address can be set manually.
    "ip_mode": "sysInfo.ip_mode", //0 Dynamic 1 Static
    "ip": "sysInfo.ip",
    "gateway": "sysInfo.gateway",
    "dns": "sysInfo.dns",
    "mask": "sysInfo.mask",
    "nfc": "sysInfo.nfc", //NFC 1 on 0 off
    "nfcReport": "sysInfo.nfcReport", //NFC reporting switch: 1 on, 0 off
    "nfc_identity_card_enable": "sysInfo.nfc_identity_card_enable", //Configure whether to read the physical ID card number: 0 on, 1 off.
    "nfc_card_protocol": "sysInfo.nfc_card_protocol", // NFC supported protocols: bit0: ISO14443-A 106kbps; bit1: ISO14443-B 106kbps; bit3: ISO15693
    "st": "sysInfo.st", // start bit
    "len": "sysInfo.len", // Output length
    "nft": "sysInfo.nft", // 0: Transparent transmission (e.g., card number: 9384ED18 => 93 84 ED 18, four bytes), 1: Hexadecimal output (each digit of the card number is represented in ASCII hexadecimal, eight bytes), 2: Decimal output (the card number is converted from a number to a decimal number, each digit is represented in ASCII hexadecimal, number of bytes is variable).
    "anfc": "sysInfo.anfc", //Actions after swiping the card
    "pri": "sysInfo.pri", // Prefix, char (each character is represented in ASCII hexadecimal), hex (must be even and each bit must be between 0 and f).
    "pos": "sysInfo.pos", // Suffix, same as prefix
    "horc": "sysInfo.horc", // 0: string, 1: hexadecimal
    "nnl": "sysInfo.nnl", // Whether to add a carriage return (0D) after the output NFC data, 0: no carriage return, 1: add carriage return.
    "ncr": "sysInfo.ncr", // Whether to add a newline character (0A, after 0D) to the output NFC data: 0: no newline, 1: add newline.
    "ord": "sysInfo.ord", // 0: Output NFC data is in ascending order (card number is in ascending order); 1: Output NFC data is in descending order, which is determined first.
    "nfc_otag": "sysInfo.nfc_otag", // Output information is 0 by default and not output. Other information is determined by bit position.
    "online_id_format": "sysInfo.online_id_format", //ID card data format 0 is ASCII, 2 is JOSN format
    "blhorc": "sysInfo.blhorc", //Bluetooth prefix and suffix: 1 char 2 hex
    "blpri": "sysInfo.blpri", //Bluetooth prefix
    "blpos": "sysInfo.blpos", //Bluetooth suffix
    "blcr": "sysInfo.blcr", //Bluetooth plus Enter 0 no enter 1 enter
    "blnl": "sysInfo.blnl", //Bluetooth adds a newline character; 0 doesn't add a newline character, 1 adds a newline character.
    "ble_name": "sysInfo.ble_name", //Bluetooth name
    "ble_mac": "sysInfo.ble_mac", //Bluetooth Mac
    "blft": "sysInfo.blft", //Bluetooth output format 0 Direct output
    "boot_music": "sysInfo.boot_music", //Power-on beep - 0 (Off)
    "volume": "sysInfo.volume", //Volume 0-60, voice
    "volume1": "sysInfo.volume1", //Volume 0-100, buzzer
    "backlight": "sysInfo.backlight", //LCD backlight brightness
    "brightness": "sysInfo.brightness", //White fill light brightness
    "userid": "sysInfo.userid", //userId
    "devnum": "sysInfo.devnum", //Device number
    "devname": "sysInfo.devname", //Equipment Name
    "heart_en": "sysInfo.heart_en", //Heartbeat switch: 0 Off, 1 On
    "heart_data": "sysInfo.heart_data", //Heartbeat content
    "heart_time": "sysInfo.heart_time", //Heartbeat interval, seconds
    "sn": "sysInfo.sn", //sn read-only
    "uuid": "sysInfo.uuid", //UUID (read-only)
    "sn_show": "sysInfo.sn_show", //Hide SN? 0 Hide 1 Show
    "ip_show": "sysInfo.ip_show", //Hide IP address: 0 (Hide), 1 (Show)
    "rotation": "sysInfo.rotation", //Screen angle
    "language": "sysInfo.language", //Language: 0 Chinese, 1 English
    "com_passwd": "sysInfo.com_passwd", //Configure password. Default is 1234567887654321
    "ntp_en": "sysInfo.ntp_en", //NTP time synchronization: 0 - Disabled, 1 - Enabled
    "ntp_addr": "sysInfo.ntp_addr", //The default time synchronization server is 182.92.12.11.
    "ntp_port": "sysInfo.ntp_port", //The default port is 123, which is not currently supported.
    "ntp_timeout": "sysInfo.ntp_timeout", //NTP synchronization timeout is set to 5 seconds by default and is not currently supported.
    "ntp_interval": "sysInfo.ntp_interval", //The default NTP synchronization interval is 43200 seconds, which is 12 hours.
    "ntp_hour": "sysInfo.ntp_hour", //NTP fixed-time synchronization, scheduled synchronization, 23 means automatic synchronization time at 23:00 every day.
    "version": "sysInfo.version", //Version number
    "version_show": "sysInfo.version_show", //Version Show/Hide
    //Which interface to use for protocol reporting
    //Reporting Mode: 00 represents host computer polling 0x30 to obtain scanner data; 01 represents using instruction 0x30 to actively report data; 80 represents host computer polling 0x33 to obtain scanner data; 0x81 represents using instruction 0x33 to actively report data.
    "report_mode": "sysInfo.report_mode",
    //The default data validity period for the barcode scanner is 2000ms.
    "report_timeout": "sysInfo.report_timeout",
    // Password button 1: On 0: Off
    "show_unlocking": "sysInfo.show_unlocking",
    // Date Show/Hide 1 On 0 Off
    "show_date": "sysInfo.show_date",
    // Device Name Show/Hide: 1 On, 0 Off
    "show_devname": "sysInfo.show_devname",
    "buttonText": "sysInfo.buttonText",
    // Set background image
    "rotation0BgImage": "sysInfo.rotation0BgImage",
    "rotation1BgImage": "sysInfo.rotation1BgImage",
    "rotation2BgImage": "sysInfo.rotation2BgImage",
    "rotation3BgImage": "sysInfo.rotation3BgImage",
    // Time zone
    "ntpLocaltime": "sysInfo.ntpLocaltime",
    //Security module: 0 is off, 1 is on, 2 is reset key.
    "safe_open": "sysInfo.safe_open",
    "safe_keytype": "sysInfo.safe_keytype",
    "safe_key_pub": "sysInfo.safe_key_pub",
    "safe_iv_pri": "sysInfo.safe_iv_pri",
    "time": "sysInfo.time",
    //Date format 1 Year/Month/Day 2 Day/Month/Year
    "dateFormat": "sysInfo.dateFormat",
    //Time format 1 24-hour format 2 12-hour format
    "timeFormat": "sysInfo.timeFormat",
    // Card reading methods: 1. Read physical card number; 2. Fixed sector; 3. One card, one key.
    "nfcType": "sysInfo.nfcType",
    // Card reader sector number
    "sectorNumber": "sysInfo.sectorNumber",
    // Card block number
    "blockNumber": "sysInfo.blockNumber",
    // Card reader key type 1: 0x60 2: 0x61
    "secretkeyType": "sysInfo.secretkeyType",
    // Card reader key
    "secretkey": "sysInfo.secretkey",
    //-1 Disable automatic restart 0-23 Restart on the hour
    "autoRestart": "sysInfo.autoRestart",
    //Time zone
    "timeZone": "sysInfo.timeZone",
}
//Retrieve the value from setCofig based on the key
configConst.getValueByKey = function (key) {
    return this.setConfig[key] || undefined;
}

export default configConst